<?php

use Illuminate\Database\Seeder;
use App\Models\Cate;
class CateSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        Cate::create([
            "cname" => "购房须知",
            "pid"   => 0
        ]);
        Cate::create([
            "cname" => "购房建议",
            "pid"   => 1
        ]);
        Cate::create([
            "cname" => "房产政策",
            "pid"   => 1
        ]);
        Cate::create([
            "cname" => "购房资质",
            "pid"   => 1
        ]);
        Cate::create([
            "cname" => "房屋货款",
            "pid"   => 1
        ]);
        Cate::create([
            "cname" => "保障住房",
            "pid"   => 1
        ]);
    }
}
